package com.lichuang.fruitvarietysm.cart.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lichuang.fruitvarietysm.cart.feignEntity.GoodsSkuAttr;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class ShoppingCartVo {

    @ApiModelProperty(value = "购物车的id")
    private Integer cartID;

    @ApiModelProperty(value = "商品id")
    private Integer goodsId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "商品数量")
    private Integer quantity;

    @ApiModelProperty(value = "添加商品到购物车的时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "该商品的价格")
    private BigDecimal Price;

    @ApiModelProperty(value = "商品的skuId")
    private int skuId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;


    @ApiModelProperty(value = "商品主图，url地址")
    private String mainImage;


    @ApiModelProperty(value = "数量，即剩余的库存")
    private Integer stockNumber;


    @ApiModelProperty(value = "商品重量（以kg为单位）")
    private Double goodsWeight;

    @ApiModelProperty(value = "商品状态，0为默认显示，1为动态显示")
    private Integer state;


    @ApiModelProperty(value = "库存不足显示字段")
    private String quantityState;

    @ApiModelProperty(value = "sku的属性和值")
    private   List<List> sku;

}
